get all files of a drive folder to google colab

44

from google.colab import drive
drive.mount('/content/drive/')
## Then

%cd /content/drive/My Drive/Colab Notebooks/
## After I can for example read csv files with

df = pd.read_csv("data_example.csv")
## If you have different locations for the files just add the correct path after My Drive

Comments

Submit
0 Comments